package com.corechina.apex_osswords.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.dto.CoreClienteleDto;
import com.corechina.apex_osswords.domain.dto.CoreProjectDto;
import com.corechina.apex_osswords.domain.entity.CoreProject;

/**
 * <p>
 * 项目信息表 服务类
 * </p>
 *
 * @author cc
 * @since 2022-03-11
 */
public interface ICoreProjectService extends IService<CoreProject> {

    Response add(CoreProjectDto coreProjectDto);

    Response update(CoreProjectDto coreProjectDto);

    Response getOne(Integer id);

    Response getOneForRepairs(Integer id);

    Response getList(Integer projectType, Integer serviceId, String projectName, String serviceBeginDate, String serviceEndDate, Integer pageIndex, Integer pageSize);

    Response getListForWeiXin(Integer type, Integer projectType, Integer serviceId, Integer pageIndex, Integer pageSize);

    Response getProjectCount();

    Response delete(Integer id);

    Response addClientele(CoreClienteleDto coreClienteleDto);

    Response getEquipmentCount();

    CoreProject getOneBySerialNumber(String serialNumber);


}
